public class Feeder {
    private String name;
    public  Feeder(String name){
        this.name=name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public  void speak(){
        System.out.println("我是小华");
    }

    public  void  feed(String name){
        System.out.println("喂养了动物"+name);
    }

}
